package com.qn.template;


import org.springframework.stereotype.Component;

@Component
public class OneHandler extends AbstractHandler{

    @Override
    public void methodA() {
        System.out.println("处理逻辑a");
    }

    @Override
    public void afterPropertiesSet() throws Exception {
        HandlerFactory.register("a",this);
    }
}
